![]() |
FillArc |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Fills a wedge with any available bit pattern.
void FillArc ( const Rect *r, SInt16 startAngle, SInt16 arcAngle, const Pattern *pat );
The rectangle that defines an oval’s boundaries.
The angle indicating the start of the arc.
The bit pattern to use for the fill.
The angle indicating the arc’s extent.
Using the patCopy pattern mode and the pattern defined in the Pattern structure that you specify in the pat parameter, the FillArc function draws a wedge of the oval bounded by the rectangle that you specify in the r parameter. As in FrameArc use the startAngle and arcAngle parameters to define the arc of the wedge.
This function leaves the location of the graphics pen unchanged.
Use GetPattern and GetIndPattern to get a pattern stored in a resource.
Use PaintArc to draw a wedge with the pen pattern for the current graphics port.
To fill a wedge with a pixel pattern, use the FillCArc function.
The FillArc function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)